home *** CD-ROM | disk | FTP | other *** search
- cat << THEEND
- The SLS installation is controlled by the program "doinstall",
- which is invoked automatically by logging in as "install".
- The hardest
-
- However, the main
- task remaining is partitioning
-
- Before you can install Linux on your hard drive, you must partition your
- drive, and put a file system on it. Roughly, this entails:
-
- - Write protect all disks, if installing from floppy (except boot disk).
- - Boot Linux from disk (well, you already did that)
- - Create an linux/extended partition with "fdisk" on your hard drive and reboot.
- - Make a file system on the partition with "mke2fs -c /dev/PART NUMBLOCKS"
- - Use "doinstall /dev/PART": PART is your partition (eg "doinstall /dev/hda2"
- or "doinstall /dev/hda2 /dev/hda3 /usr /dev/hdb1 /usr/home" if you wish to
- have multiple partitions, with say /usr on a different partition.
-
- The final step may ask you to put a formatted floppy in the drive so the
- BOOT DISK can be prepared for you. Have one ready ahead of time. When the
- installation is complete, and you reboot from this floppy, you will be using
- Linux from your hard drive. Later, you may wish to play with /usr/src/lilo
- to boot from your harddrive. Note that if you have less than 4 Meg of RAM,
- you may need to make and activate a 4 Meg swap partition, prior to installation.
- For example, using /dev/hda3 for swap: "mkswap /dev/hda3 4096; swapon /dev/hda3"
- To print this file: "cat install.info > /dev/lp1" or "cat install.info > /dev/lp2".
- Also "doinstall" will execute the script "PART/doinst.sh" (advanced users).
- Your first task after the base install is done, should be to make backup
- copies of all of your disks. After the install, you can log on as "root".
- Note: LEFT-ALT-F2 uses 2nd virtual console etc, up arrow recalls commands.
- Hit RETURN for more...
- THEEND
- read resp
- cat << THEEND
- EXAMPLE PARTITIONING PROCEDURE
- ... Put disk a1 in drive A: and reboot computer, then put disk a2 in the
- ... floppy drive you will be doing the install from (usually A: as well).
-
- /# fdisk
- Command (m for help): n
- Command action
- e extended
- p primary partition (1-4)
- p
- Partition number (1-4): 2
- First cylinder (500-977): 500
- Last cylinder or +size or +sizeM or +sizeK (500-977): 977
- Command (m for help): t
- Partition number (1-4): 1
- Hex code (type L to list codes): 83
-
- Command (m for help): v
- Hit RETURN for more...
- THEEND
- read resp
- cat << THEEND
- Command (m for help): p
-
- Disk /dev/hda: 5 heads, 17 sectors, 977 cylinders
- Units = cylinders of 85 * 512 bytes
-
- Device Boot Begin Start End Blocks Id System
- /dev/hda1 1 1 99 20000 4 DOS
- /dev/hda2 100 100 600 90000 83 Linux extfs
-
- Command (m for help): w
- reboot now before doing anything else
- /#
- ...<after the reboot>
- /# mke2fs -c /dev/hda2 90000
- /# doinstall /dev/hda2
- ... Follow prompts, and insert disks as requested, then login as root.
- THEEND
-